﻿@model IEnumerable<string>

@Html.ActionLink("Home","List","Product",null,
new {@class = "btn btn-block btn-default btn-lg"})
@foreach (var link in Model)
{
    @Html.RouteLink(link, new
{
    Controller = "Product",
    action = "List",
    category = link,
    page = 1
}, new { @class="btn btn-block btn-default btn-lg"
+(link==ViewBag.SelectCategory?" btn-primary":"")
})
}